package org.runecore.rs2.event;

/**
 * RuneCore
 * Sep 25, 2011
 * @author Harry Andreas<Harry@RuneCore.org>
 */
public abstract class Event {
	
	/**
	 * Constructor
	 * @param delay
	 */
	public Event(int delay) {
		originalTicks = delay;
		ticksLeft = delay;
	}
	
	/**
	 * Variables for an <code>Event</code> 
	 */
	public int originalTicks, ticksLeft;
	
	/**
	 * 
	 */
	public boolean reRuns;
	
	/**
	 * Executes the <code>Event</code> body
	 */
	public abstract void runEvent();

}